<!-- Header -->
{% load i18n %}
{% load admin_list %}
{% trans "Iniciar sesión" as iniciar_sesion %}
{% trans "Cerrar sesión" as cerrar_sesion %}
{% trans 'Panel de control' as panel_de_control %}




<header class="header">
    <div class="container">
        <div class="navbar">
            <div class="navbar-inner">
                <div class="brand-wrapper">
                    <a class="brand" href="index.html"><i class="icon-check-empty"></i> ROUN<span>DE</span></a>
                </div>
                <ul class="nav">
                    <li class="active"><a href="index.html">Home</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Templates <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li class="dropdown-submenu">
                                <a tabindex="-1" href="#">About Us</a>
                                <ul class="dropdown-menu">
                                    <li><a tabindex="-1" href="about_1.html">About Us - Layout 1</a></li>
                                    <li><a tabindex="-1" href="about_2.html">About Us - Layout 2</a></li>
                                    <li><a tabindex="-1" href="about_3.html">About Us - Layout 3</a></li>
                                </ul>
                            </li>
                            <li><a tabindex="-1" href="http-404.html">HTTP 404</a></li>
                            <li><a tabindex="-1" href="faqs.html">FAQs</a></li>
                            <li><a tabindex="-1" href="prizing_tables.html">Prizing Tables</a></li>
                            <li><a tabindex="-1" href="contact.html">Contact Us</a></li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Portfolio <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li class="dropdown-submenu">
                                <a tabindex="-1" href="classic_3_columns.html">Classic Portfolio</a>
                                <ul class="dropdown-menu">
                                    <li><a tabindex="-1" href="classic_2_columns.html">Classic 2 Columns</a></li>
                                    <li><a tabindex="-1" href="classic_3_columns.html">Classic 3 Columns</a></li>
                                    <li><a tabindex="-1" href="classic_4_columns.html">Classic 4 Columns</a></li>
                                </ul>
                            </li>
                            <li class="dropdown-submenu">
                                <a tabindex="-1" href="filterable_3_columns.html">Filterable Portfolio</a>
                                <ul class="dropdown-menu">
                                    <li><a tabindex="-1" href="filterable_2_columns.html">Filterable 2 Columns</a></li>
                                    <li><a tabindex="-1" href="filterable_3_columns.html">Filterable 3 Columns</a></li>
                                    <li><a tabindex="-1" href="filterable_4_columns.html">Filterable 4 Columns</a></li>
                                </ul>
                            </li>
                            <li class="divider"></li>
                            <li><a href="portfolio.html">Single Project</a></li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Blog <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="blog_1.html">Homepage - Layout 1</a></li>
                            <li><a href="blog_2.html">Homepage - Layout 2</a></li>
                            <li class="divider"></li>
                            <li><a href="post.html">Single Post</a></li>
                        </ul>
                    </li>
                    <li><a href="contact.html">Contact</a></li>
                </ul>
                <select><option selected="selected" value="">Site Navigation</option><option value="index.html">Home</option><option value="#">Templates </option><option value="#">- About Us</option><option value="about_1.html">-- About Us - Layout 1</option><option value="about_2.html">-- About Us - Layout 2</option><option value="about_3.html">-- About Us - Layout 3</option><option value="http-404.html">- HTTP 404</option><option value="faqs.html">- FAQs</option><option value="prizing_tables.html">- Prizing Tables</option><option value="contact.html">- Contact Us</option><option value="#">Portfolio </option><option value="classic_3_columns.html">- Classic Portfolio</option><option value="classic_2_columns.html">-- Classic 2 Columns</option><option value="classic_3_columns.html">-- Classic 3 Columns</option><option value="classic_4_columns.html">-- Classic 4 Columns</option><option value="filterable_3_columns.html">- Filterable Portfolio</option><option value="filterable_2_columns.html">-- Filterable 2 Columns</option><option value="filterable_3_columns.html">-- Filterable 3 Columns</option><option value="filterable_4_columns.html">-- Filterable 4 Columns</option><option value="portfolio.html">- Single Project</option><option value="#">Blog </option><option value="blog_1.html">- Homepage - Layout 1</option><option value="blog_2.html">- Homepage - Layout 2</option><option value="post.html">- Single Post</option><option value="contact.html">Contact</option></select></div>
        </div>
    </div>
</header>




<div class="container">
    <div class="row-fluid">
        <div class="span6">
            <h1>{{ project_name }}</h1>
        </div>
        <div class="span6"  style="padding-top: {% if not user.is_authenticated %}19px;{% else %}17px;{% endif %}">
            <form class="form-inline pull-right" style="margin-bottom: 0px;">
                {% if user.is_authenticated %}
                    <ul class="nav nav-pills" style="margin-bottom: 0px;">
                        <li class="dropdown">
                            <a href="/" class="dropdown-toggle" data-toggle="dropdown">
                                {{ user.get_full_name|capfirst }}
                                <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="#"><i class="icon-wrench"></i> {{ panel_de_control }}</a></li>
                                <li class="divider"></li>
                                <li><a href="/cuentas/logout/"><i class="icon-off"></i> {{ cerrar_sesion }}</a></li>
                            </ul>
                        </li>
                    </ul>
                {% else %}
                    <a href="/cuentas/registro/" class="btn btn-success">{% trans 'Registrarse' %}</a>
                    <a href="/cuentas/login/" class="btn btn-primary">{{ iniciar_sesion }}</a>
                    </form>
                {% endif %}
        </div>
    </div>
</div>

<div class="navbar navbar-inverse-blue navbar-static-top" style="margin-top: 10px; margin-bottom: 20px;">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
{#            <a class="brand" href="#">Project name</a>#}
            <div class="nav-collapse">
                <ul class="nav">
                    <li class="active"><a href="/"><i class="icon-home icon-white"></i> {% trans 'Inicio' %}</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-th icon-white"></i> {% trans 'Empresas' %} <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            {% if not user.is_authenticated %}
                                <li><a href="/cuentas/login/"><i class="icon-ok"></i> {{ iniciar_sesion }}</a></li>
                            {% endif %}
                            <li><a href="#"><i class="icon-wrench"></i> {{ panel_de_control }}</a></li>
                            {% if user.is_authenticated %}
                                <li class="divider"></li>
                                <li><a href="/cuentas/logout/"><i class="icon-off"></i> {{ cerrar_sesion }}</a></li>
                            {% endif %}
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white"></i>  {% trans 'Candidatos' %} <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="/cuentas/login/"><i class="icon-ok"></i> {{ iniciar_sesion }}</a></li>
                            <li><a href="#"><i class="icon-file"></i> {% trans 'Subir mi CV' %}</a></li>
                            <li class="divider"></li>
                            <li><a href="/cuentas/logout/"><i class="icon-off"></i> {{ cerrar_sesion }}</a></li>
                        </ul>
                    </li>
                </ul>
                {% comment %} Select Language Form {% endcomment %}
                {% if not user.is_authenticated %}
                    <form class="navbar-form pull-right" action="/i18n/setlang/" method="post">
                        {% csrf_token %}
                        <input name="next" type="hidden" value="." />
                        <select name="language" class="input-small">
                            {% get_language_info_list for LANGUAGES as languages %}
                            {% for language in languages %}
                                <option value="{{ language.code }}">{{ language.name_local|capfirst }}</option>
                            {% endfor %}
                        </select>
                        <input type="submit" value="Go" />
                    </form>
                {% endif %}
            </div>
        </div>
    </div>
</div>